From: Kevin Brown (kevin@nuchat.sccsi.com) Subject: TRIUMPH!! Newsgroups: comp.os.linux Date: 1992-06-23 17:39:56 PST Do you want to hear what I went through in order to get Linux 0.96b to compile? Of course you do. :-) First, my setup: * 386-25 with 8 meg of RAM. * Seagate ST-02 SCSI host adapter for use with Minix. * Bustek 542B SCSI host adapter for use with Linux (don't have it and the ST-02 in the machine at the same time, though). * 3 SCSI hard drives: - Seagate ST-225N at target 0. - Seagate ST-296N at target 1. - Maxtor XT-4380S at target 2. * VGA (C&T chipset). Other than that, there's nothing special about it. I. The Preparation Pretty hard to compile the kernel without the kernel sources, right? So I grabbed those first, by downloading them to my Minix system at 2400 baud, and then copying them to the Linux partition on the ST-296. The versions of Linux that use the ST-02 driver require gcc version 2.0 or later, due to the register allocation instructions to the inline assembler, which is apparently not supported in gcc 1.40. So I had to grab some version of gcc 2.x. I got the latest one I could find on tsx-11.mit.edu: gcc 2.12c. The binary distribution of these is large enough that I actually bothered to use floppies instead of just downloading them at 2400 baud. Unfortunately, since tar and compress are broken on the 0.95c+ root disk (not the mcc-interim one), I had to obtain good copies of these. Well, I have the source for a known-good tar, GNU tar 1.09, which I modified slightly under Minix to fix a bug or two, namely one involving not extracting device files properly. I also have the source for compress. So I copied the sources for each over to the Linux partition on the ST-296 (the kernel as distributed cannot see the Maxtor, which is why I decided to bother to build the kernel to begin with), switched over to Linux (this involves powering down, removing the ST-02, installing the Bustek, and bringing the system back up). At this point I already had a working Linux partition, complete with gcc-1.40 and enough of the 0.95c+ distribution to be somewhat useful. I had the Minix make on there, though (compiled from source). Compress compiled properly, of course. Then it was on to tar. Well, there were a lot of things that it had to do itself under Minix that are in the libraries under Linux, so a number of #defines had to be changed in both the makefile and the actual sources. Once I had that sorted out, things went relatively smoothly, until...well, it seems that it requires yacc to do the date parsing. Sigh. Power down Linux, bring Minix back up, and transport the Berkeley yacc sources over. Then bring Linux back up and continue the compilation. More #define changes, etc. Now I have a working tar. After renaming /usr/bin/gcc to /usr/bin/gcc-1.40 so it doesn't get stomped on by the 2.12 version, I unpacked gcc-2.12c: compress -d Subject: Re: stat(): Oops, wrong header files! Message-ID: <1992Jun22.153310.20942@athena.mit.edu> Sender: daemon@athena.mit.edu (Mr Background) Reply-To: V5068U%TEMPLEVM.BITNET@mitvma.mit.edu Organization: The Internet Date: Mon, 22 Jun 1992 15:33:10 GMT Lines: 5 Hi, Well the subject says it all. Version 0.96b needs the new set of header files (0.96ap4inc.tar.Z) for stat() to work. Sorry to waste bandwidth. jim "costing Usenet hundreds if not thousands of dollars" wiegand Until then, I guess I can live with what I have. :-) To Linus and everyone else who have contributed to Linux: my congratulations and thanks for a job well done! The system is great! -- Kevin Brown kevin@nuchat.sccsi.com kevin@taronga.taronga.com